const state = {
    currentView:'customer_add'
}
const getters = {
    
}
const mutations = {
    switch_view_customer(state,{currentView}){
        state.currentView = currentView;
    }
}

const actions = {
    switch_view_customer({commit},{currentView}){
        commit('switch_view_customer',{currentView})
    }
}
export default {
    state,
    getters,
    mutations,
    actions
}